﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Templates_ContactSupport_Default" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style>
.productList{
    float:left; width:190px
    }
    
        
        .pnlProducts .single label {
            float: left;
            width:75px;
        }
   
        
        .single label.lblWide{width:auto;}
    
       
        .rbList{}
        table.rbList{float:left; width:630px}
        .pnlProducts .rbList label{float:none; padding-right:10px;}
        .rbList td{}
        .rbList span{}
        .rbList input{}

</style>
<script>
    $(function() {

        $(".close").click(function() {
            $("#ContactForm").hide();
        });

        $(".hotSpot").click(function() {
           
        });

        $(document).keyup(function(e) {

            if (e.keyCode == 27) { $("#ContactForm").hide(); }   // esc
        });

        jQuery("#MapHolderOff AREA").mouseover(function() {
            var regionMap = $(this).attr('id');
            var regionList = '.' + $(this).attr('id') + '-list';
            //alert(regionMap);
            //$()
            jQuery("#mapHolder").addClass(regionMap + "").stop(true,true).fadeIn('fast');
            //jQuery(regionMap).css('display', 'inline');

            // Check if a click event has occured and only change the Region hover state accodringly
            //            if (!jQuery('#practice-container ul').hasClass('selected')) {
            //                jQuery(regionList).css('display', 'inline');
            //            }
            }).mouseout(function() {
                var regionMap = $(this).attr('id');
                //jQuery("#mapHolder").fadeOut().removeClass(regionMap + "");
                jQuery("#mapHolder").stop(true,true).fadeOut(0, function() {
                    $(this).removeClass(regionMap + "");
                });


            });

            jQuery("#MapHolderOff AREA").click(function() {
            var regionMap = $(this).attr('id');
            regionMap2=regionMap.replace(/-/g, " ");

            //regionMapstring.replace(regexp / substr, newstring)
                $("#ContactForm").show();
                //alert($(this).text());
                $("#titleCountry").text(regionMap2);
            });



    })
    
</script>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentTop" Runat="Server">
 
<div id="top" style="position:relative;" class="ContactSupportSales">
    <asp:Panel ID="pnlCreateMsg" Visible="true" runat="server" CssClass="">
    <div id="MapHolderOff" class="" style="position:relative">
            
        
            <div id="ContactForm" class="clearfix" style="display:none">
            <a href="#" id="CloseBtn" class="close">Close</a>
            <h3>Schiebel <span id="titleCountry">America</span></h3>
                    
            <div class="clearfix">
                <div class="clearfix">
                    <p style="float: right; line-height: 1em; padding: 5px 70px 0 0; text-transform: uppercase;">* This is a required field</p>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label1" AssociatedControlID="txtName" Text="Name" runat="server"/>
                        <span class="required">*</span>
                        <asp:RequiredFieldValidator CssClass="rfv" ID="RequiredFieldValidator1" ControlToValidate="txtName" runat="server" ErrorMessage="*" />
                    </div>
                    <asp:TextBox ID="txtName" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label3" AssociatedControlID="txtLastName" Text="Last Name" runat="server"/>
                        <span class="required">*</span>
                        <asp:RequiredFieldValidator CssClass="rfv" ID="RequiredFieldValidator9" ControlToValidate="txtLastName" runat="server" ErrorMessage="*" />
                    </div>
                        <asp:TextBox ID="txtLastName" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="lblOrganisation" AssociatedControlID="txtOrganisation" Text="Organisation" runat="server"/>
                        <span class="required">*</span>
                        <asp:RequiredFieldValidator CssClass="rfv" ID="RequiredFieldValidator2" ControlToValidate="txtName" runat="server" ErrorMessage="*" />
                    </div>
                    <asp:TextBox ID="txtOrganisation" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label4" AssociatedControlID="txtAddress1" Text="Address 1" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator10" ControlToValidate="txtAddress1" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtAddress1" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label5" AssociatedControlID="txtAddress2" Text="Address 2" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator11" ControlToValidate="txtAddress2" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtAddress2" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="lblCountry" AssociatedControlID="txtCountry" Text="Country" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator3" ControlToValidate="txtName" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtCountry" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label6" AssociatedControlID="txtStateCode" Text="State / Code" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator12" ControlToValidate="txtStateCode" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtStateCode" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="Label7" AssociatedControlID="txtEmail" Text="Email" runat="server"/>
                        <span class="required">*</span>
                        <asp:RegularExpressionValidator ID="valEmailFormat" ControlToValidate="txtEmail"  CssClass="rfv" ErrorMessage="*" Display="Dynamic" runat="server" ValidationExpression="^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$" />
                        <asp:RequiredFieldValidator CssClass="rfv" ID="RequiredFieldValidator13" ControlToValidate="txtEmail" runat="server" ErrorMessage="*" />
                        
                    </div>
                    <asp:TextBox ID="txtEmail" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="lblTelephone" AssociatedControlID="txtTelephone" Text="Telephone" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator4" ControlToValidate="txtName" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtTelephone" TextMode="SingleLine" runat="server"/>
                </div>
                <div class="formItem double clearfix">
                    <div class="lblHolder clearfix">
                        <asp:Label ID="lblFax" AssociatedControlID="txtFax" Text="Fax" runat="server"/>
                        <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator5" ControlToValidate="txtName" runat="server" ErrorMessage="*" />--%>
                    </div>
                    <asp:TextBox ID="txtFax" TextMode="SingleLine" runat="server"/>
                </div>
            </div>
                    
            <asp:Panel runat="server" ID="pnlProductSales" CssClass="pnlProducts" Visible="false">
                <div class="formItem single">
                    <asp:Label AssociatedControlID="rblProductSales" Text="Product" ID="lblProductSales" runat="server" />
                    <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator6" ControlToValidate="txtName" runat="server" ErrorMessage="*" />--%>
                    <asp:RadioButtonList CssClass="rbList" ID="rblProductSales" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Text="Camcopter&reg; s-100" Value="Campcopter s-100"/>
                        <asp:ListItem Text="ATMID&trade;" Value="ATMID"/>
                        <asp:ListItem Text="AN-19/2" Value="AN-19/2"/>
                        <asp:ListItem Text="MIMID&trade;" Value="MIMID"/>
                        <asp:ListItem Text="VAMIDS&trade;" Value="VAMIDS"/>
                        <asp:ListItem Text="Composite Technologies" Value="Composite Technologies"/>
                    </asp:RadioButtonList>
                </div> 
            </asp:Panel>
            <asp:Panel runat="server" ID="pnlProductSupport" CssClass="pnlProducts" Visible="false" >
                <div class="formItem single">
                    <asp:Label AssociatedControlID="rblProductSupport" Text="Product" ID="lblProductSupport" runat="server" />
                    <%--<asp:RequiredFieldValidator CssClass="required" ID="RequiredFieldValidator8" ControlToValidate="txtName" runat="server" ErrorMessage="*" />--%>
                    <asp:RadioButtonList CssClass="rbList" ID="rblProductSupport" runat="server" RepeatDirection="Horizontal">
                        <asp:ListItem Text="Camcopter&reg; s-100" Value="Camcopter s-100"/>
                        <asp:ListItem Text="ATMID&trade;" Value="ATMID"/>
                        <asp:ListItem Text="AN-19/2" Value="AN-19/2"/>
                        <asp:ListItem Text="MIMID&trade;" Value="MIMID"/>
                        <asp:ListItem Text="VAMIDS&trade;" Value="VAMIDS"/>
                    </asp:RadioButtonList>
                </div> 
                
                <div class="formItem partNumber clearfix">
                    <span style="width:75px; text-transform:uppercase; float:left;">Part Number:</span>
                
                    <span class="mt">
                        <asp:Label ID="Label8" AssociatedControlID="txtMT0" Text="MT" runat="server"/>
                        
                        <asp:TextBox ID="txtMT0" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT1" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT2" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT3" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <span class="separator">/</span>
                        <asp:TextBox ID="txtMT4" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT5" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <span class="separator">/</span>
                        <asp:TextBox ID="txtMT6" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT7" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT8" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                        <asp:TextBox ID="txtMT9" MaxLength="1" TextMode="SingleLine" CssClass="mtNumber" runat="server"/>
                    </span>
                    <span class="short">
                        <asp:Label ID="Label9" AssociatedControlID="txtDate" Text="Date" runat="server"/>
                        <asp:TextBox ID="txtDate" TextMode="SingleLine" CssClass="shortTb" runat="server"/>
                    </span>
                    <span class="short">
                        <asp:Label ID="Label10" AssociatedControlID="txtSerialNumber" Text="Serial Number" runat="server"/>
                        <asp:TextBox ID="txtSerialNumber" TextMode="SingleLine" CssClass="shortTb" runat="server"/>
                    </span>
                </div> 
            </asp:Panel>
            
            <div class="formItem additionalComments clearfix">
                <div class="lcol">
                    <asp:Label ID="Label2" CssClass="lblWide" AssociatedControlID="txtDescription" Text="Please describe the problem or question in as much detail as possible." runat="server"/>
                    
                    <div class="formItem buttons">
                        <asp:Button ID="btnSubmit" Text="Submit" runat="server" />
                        <%--<a class="close" href="#">Close</a>--%>
                    </div>
                </div>
                <div class="rcol">
                    <div class="clearfix" style="float:left; width:12px">
                        <span class="required">*</span>
                        <asp:RequiredFieldValidator CssClass="rfv" ID="RequiredFieldValidator7" ControlToValidate="txtName" runat="server" ErrorMessage="*" />
                    </div>
                    <asp:TextBox TextMode="MultiLine" CssClass="commentTextarea" ID="txtDescription" runat="server" />
                </div>
            </div>
                        
        </div>
        
        
        
        <div id="mapHolder" style="position:absolute" class="">
            <%--<a class="hotSpot" style="left:435px; top:125px; ">Europe</a>
                <a class="hotSpot" style="left:235px; top:75px; ">North America</a>--%>
        </div>
        
        <img style="position:absolute" id="Img1" src="~/Images/transparent.gif" runat="server" width="960" height="362" usemap="#Map"/>
        <map name="Map" id="Map" >
                <area href="#" alt="Americas" id="Americas" shape="poly" coords="297,352,326,311,363,268,380,230,350,205,317,187,276,176,294,172,273,146,280,120,317,127,316,109,308,93,339,87,334,65,307,4,40,2,37,67,114,58,203,182,254,199,252,237,280,264,265,356" />
                <area href="#" alt="Group-Headquarters" id="Group-Headquarters" shape="poly" coords="505,306,527,302,544,293,550,277,577,284,584,265,587,247,580,234,567,238,561,228,573,213,585,185,570,188,549,168,541,148,538,135,523,118,521,103,533,86,556,69,591,79,613,106,627,125,677,113,706,114,741,110,759,114,793,148,831,133,833,80,873,65,913,21,914,4,472,4,460,16,445,26,433,44,423,53,428,85,426,107,426,133,407,153,408,183,435,211,456,214,476,223,487,275,489,288" />
                <area href="#" alt="Middle-East" id="Middle-East" shape="poly" coords="555,77,580,85,593,95,606,112,615,123,619,132,605,157,578,174,572,173,561,164,549,140,543,126,532,113,540,91" />
                <area href="#" alt="South-East-Asia" id="South-East-Asia" shape="poly" coords="749,314,769,306,781,304,797,318,813,334,833,337,864,345,884,347,907,323,912,303,914,268,901,248,854,223,830,215,796,210,780,202,774,189,767,163,766,145,756,125,741,120,725,116,704,121,679,122,653,127,634,130,627,137,621,150,634,193,655,203,674,186,689,205,712,239,738,247,745,261,728,267,730,292" />
            </map>
    
    </div>

</asp:Panel>
        <asp:Panel ID="pnlMessageSent" Visible="false" runat="server" CssClass="wrapper">
            <h3>Your message has been sent!</h3>
        </asp:Panel>
    
        <asp:Panel ID="pnlMessageError" Visible="false" runat="server" CssClass="wrapper">
            <h3>Your message has not been sent.</h3>
        </asp:Panel>
    <div id="subNav" style="" class="clearfix">
            <ul id="navApplications">
                <acms:SimpleRepeater ID="dlNavSiblings" DataSourceID="dsSibling" AllowPaging="false" runat="server">
                    <ItemTemplate>
                        <li runat="server" id="navLi" class="sibling" >
                            <asp:HyperLink ID="lnkNav" CssClass="navApplication" NavigateUrl="#" runat="server" />
                        </li>
                    </ItemTemplate>
                </acms:SimpleRepeater>
            </ul>
            
            <ul id="navDetails"></ul>
        </div>
    
    <acms:PostDataSource ID="dsSibling" runat="server" />
            
    <div id="pageTitle" class="clearfix">
        <h1><acms:PostDisplayName ID="PostDisplayName" runat="server" /></h1>
        <%--<a href="#" id="moreInfo" class="off">More Info</a>--%>
    </div>
</div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBase" Runat="Server">
</asp:Content>



